package com.kingdee.eas.lms.base;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class SubsidiaryFactory
{
    private SubsidiaryFactory()
    {
    }
    public static com.kingdee.eas.lms.base.ISubsidiary getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.lms.base.ISubsidiary)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("CF6215F6") ,com.kingdee.eas.lms.base.ISubsidiary.class);
    }
    
    public static com.kingdee.eas.lms.base.ISubsidiary getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.ISubsidiary)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("CF6215F6") ,com.kingdee.eas.lms.base.ISubsidiary.class, objectCtx);
    }
    public static com.kingdee.eas.lms.base.ISubsidiary getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.ISubsidiary)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("CF6215F6"));
    }
    public static com.kingdee.eas.lms.base.ISubsidiary getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.lms.base.ISubsidiary)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("CF6215F6"));
    }
}